powered by
factvli computes and returns the factorial of a vli (Very Large Integers) object. Given a positive integer n, the factorial of n, n!, is defined as the product of all the positive integers from 1 to n.
factvli
n
n!
1
factvli(n)# S3 method for default factvli(n)# S3 method for numeric factvli(n)# S3 method for vli factvli(n)
# S3 method for default factvli(n)
# S3 method for numeric factvli(n)
# S3 method for vli factvli(n)
object of class vli
object of class vli or 32 bits integer
Javier Leiva Cuadrado
if (FALSE) { n <- as.vli("420") factvli(n) }
Run the code above in your browser using DataLab